Welcome![Sign In][Sign Up]
Location:
Search - AfxBeginThread PostThreadMessa

Search list

[Windows Develop程序创建两个线程

Description: 程序创建两个线程,第一个线程没有消息队列,主线程尝试给第一个线程发送一个消息,我们可以看到PostThreadMessage()返回FALSE,程序创建的第二个线程有一个消息队列,主线程中的PostThreadMessage()返回TRUE,程序由Visual C++ 6.0开发,没有用到MFC-process creates two threads, one thread without Message Queue, the main thread to thread a resolution to send a message, we can see PostThreadMessage () returns FALSE, establish procedures to the second thread is a message queue, the main threads of PostThreadMessage () returns TRUE, procedures Visual C 6.0, did not use the MFC
Platform: | Size: 79872 | Author: 罗伟 | Hits:

CodeBus www.codebus.net